home *** CD-ROM | disk | FTP | other *** search
/ Network Supervisor's Toolkit / Network Supervisor's Toolkit.iso / tools / ubmark / workmal.c < prev   
C/C++ Source or Header  |  1996-07-10  |  259b  |  25 lines

  1.  
  2.  
  3. /******
  4. *    workmal.c
  5. *    compile to "workmal.exe"
  6. *    place in /bin
  7. ******/
  8.  
  9.  
  10. #include <stdio.h>
  11.  
  12. main()    {
  13.  
  14.     char    *arr1;
  15.     int     a,b;
  16.     
  17.     a=1;
  18.     b=2;
  19.     for( ; a < b;)    {    
  20.         arr1 = (char *)malloc(10);    
  21.         memset(arr1, 'b', 9);
  22.         free (arr1);
  23.     }
  24. }
  25.